-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement PeerDAS Fulu fork activation #6795
Implement PeerDAS Fulu fork activation #6795
Conversation
c1b0c91
to
2082c92
Compare
2082c92
to
b029342
Compare
…ivate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch # Conflicts: # beacon_node/lighthouse_network/src/rpc/protocol.rs # testing/ef_tests/check_all_files_accessed.py # testing/ef_tests/src/handler.rs
d188403
to
11e9e13
Compare
…kurtosis config for PeerDAS as electra genesis is not yet supported.
11e9e13
to
8cdf82e
Compare
…ivate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch # Conflicts: # beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs # consensus/types/src/chain_spec.rs # testing/ef_tests/src/cases.rs # testing/ef_tests/src/cases/get_custody_groups.rs # testing/ef_tests/src/cases/kzg_compute_cells_and_kzg_proofs.rs # testing/ef_tests/src/cases/kzg_recover_cells_and_kzg_proofs.rs # testing/ef_tests/src/cases/kzg_verify_cell_kzg_proof_batch.rs # testing/ef_tests/src/handler.rs # testing/ef_tests/tests/tests.rs
Squashed commit of the following: commit b3da74b Merge: e813532 a1b7d61 Author: Jimmy Chen <[email protected]> Date: Thu Jan 23 16:11:34 2025 +1100 Merge remote-tracking branch 'origin/unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch # Conflicts: # beacon_node/beacon_chain/src/fetch_blobs.rs # beacon_node/store/src/lib.rs # beacon_node/store/src/memory_store.rs commit e813532 Author: Jimmy Chen <[email protected]> Date: Tue Jan 21 17:44:19 2025 +1100 Skip blob pruning tests for Fulu. commit 0e8f671 Merge: 614f984 33c1648 Author: Jimmy Chen <[email protected]> Date: Tue Jan 21 16:03:53 2025 +1100 Merge branch 'unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch commit 614f984 Author: Jimmy Chen <[email protected]> Date: Tue Jan 21 15:59:22 2025 +1100 Fix range sync to select custody peers from its syncing chain instead of the global peer list. commit eff9a5b Author: Jimmy Chen <[email protected]> Date: Tue Jan 21 10:02:19 2025 +1100 More test fixes for Fulu. commit b63a6c4 Merge: b7da075 7a0388e Author: Jimmy Chen <[email protected]> Date: Mon Jan 20 23:41:13 2025 +1100 Merge remote-tracking branch 'origin/unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch commit b7da075 Author: Jimmy Chen <[email protected]> Date: Mon Jan 20 16:03:36 2025 +1100 More test fixes for Fulu. commit 6d5b5ed Merge: 8980832 06329ec Author: Jimmy Chen <[email protected]> Date: Fri Jan 17 12:32:58 2025 +1100 Merge remote-tracking branch 'origin/unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch commit 8980832 Author: Jimmy Chen <[email protected]> Date: Fri Jan 17 11:41:46 2025 +1100 Update Fulu spec tests. Revert back to testing Fulu as "feature", because all non-PeerDAS Fulu SSZ types are the same as Electra, and serde deserializes the vectors into Electra types. commit 4d407fe Merge: 8cdf82e b1a19a8 Author: Jimmy Chen <[email protected]> Date: Thu Jan 16 01:05:04 2025 +1100 Merge remote-tracking branch 'origin/unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch # Conflicts: # beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs # consensus/types/src/chain_spec.rs # testing/ef_tests/src/cases.rs # testing/ef_tests/src/cases/get_custody_groups.rs # testing/ef_tests/src/cases/kzg_compute_cells_and_kzg_proofs.rs # testing/ef_tests/src/cases/kzg_recover_cells_and_kzg_proofs.rs # testing/ef_tests/src/cases/kzg_verify_cell_kzg_proof_batch.rs # testing/ef_tests/src/handler.rs # testing/ef_tests/tests/tests.rs commit 8cdf82e Author: Jimmy Chen <[email protected]> Date: Wed Jan 15 14:31:29 2025 +1100 Use engine v4 methods for Fulu (v5 methods do not exist yet). Update kurtosis config for PeerDAS as electra genesis is not yet supported. commit 4e25302 Author: Jimmy Chen <[email protected]> Date: Wed Jan 15 13:07:43 2025 +1100 Address review comments and fix lint. commit 0c9d64b Merge: 64e44e1 587c3e2 Author: Jimmy Chen <[email protected]> Date: Wed Jan 15 12:48:27 2025 +1100 Merge remote-tracking branch 'origin/unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch # Conflicts: # beacon_node/lighthouse_network/src/rpc/protocol.rs # testing/ef_tests/check_all_files_accessed.py # testing/ef_tests/src/handler.rs commit 64e44e1 Author: Jimmy Chen <[email protected]> Date: Tue Jan 14 14:45:09 2025 +1100 Fix failing tests now `fulu` fork is included. commit b029342 Author: Jimmy Chen <[email protected]> Date: Mon Jan 13 16:30:34 2025 +1100 Fix compilation and update Kurtosis test config for PeerDAS. commit cd77b2c Author: Jimmy Chen <[email protected]> Date: Mon Jan 13 16:16:18 2025 +1100 Update spec tests. commit 2e11554 Author: Jimmy Chen <[email protected]> Date: Mon Jan 13 14:45:55 2025 +1100 Implement PeerDAS Fulu fork activation.
98863da
to
492c1c6
Compare
Squashed commit of the following: commit e21b31e Author: Jimmy Chen <[email protected]> Date: Fri Jan 24 16:43:41 2025 +1100 More beacon chain test fixes. commit 492c1c6 Author: Jimmy Chen <[email protected]> Date: Fri Jan 24 13:00:44 2025 +1100 Use pre-computed data columns for testing and fix tests. commit b3da74b Merge: e813532 a1b7d61 Author: Jimmy Chen <[email protected]> Date: Thu Jan 23 16:11:34 2025 +1100 Merge remote-tracking branch 'origin/unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch # Conflicts: # beacon_node/beacon_chain/src/fetch_blobs.rs # beacon_node/store/src/lib.rs # beacon_node/store/src/memory_store.rs commit e813532 Author: Jimmy Chen <[email protected]> Date: Tue Jan 21 17:44:19 2025 +1100 Skip blob pruning tests for Fulu. commit 0e8f671 Merge: 614f984 33c1648 Author: Jimmy Chen <[email protected]> Date: Tue Jan 21 16:03:53 2025 +1100 Merge branch 'unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch commit 614f984 Author: Jimmy Chen <[email protected]> Date: Tue Jan 21 15:59:22 2025 +1100 Fix range sync to select custody peers from its syncing chain instead of the global peer list. commit eff9a5b Author: Jimmy Chen <[email protected]> Date: Tue Jan 21 10:02:19 2025 +1100 More test fixes for Fulu. commit b63a6c4 Merge: b7da075 7a0388e Author: Jimmy Chen <[email protected]> Date: Mon Jan 20 23:41:13 2025 +1100 Merge remote-tracking branch 'origin/unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch commit b7da075 Author: Jimmy Chen <[email protected]> Date: Mon Jan 20 16:03:36 2025 +1100 More test fixes for Fulu. commit 6d5b5ed Merge: 8980832 06329ec Author: Jimmy Chen <[email protected]> Date: Fri Jan 17 12:32:58 2025 +1100 Merge remote-tracking branch 'origin/unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch commit 8980832 Author: Jimmy Chen <[email protected]> Date: Fri Jan 17 11:41:46 2025 +1100 Update Fulu spec tests. Revert back to testing Fulu as "feature", because all non-PeerDAS Fulu SSZ types are the same as Electra, and serde deserializes the vectors into Electra types. commit 4d407fe Merge: 8cdf82e b1a19a8 Author: Jimmy Chen <[email protected]> Date: Thu Jan 16 01:05:04 2025 +1100 Merge remote-tracking branch 'origin/unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch # Conflicts: # beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs # consensus/types/src/chain_spec.rs # testing/ef_tests/src/cases.rs # testing/ef_tests/src/cases/get_custody_groups.rs # testing/ef_tests/src/cases/kzg_compute_cells_and_kzg_proofs.rs # testing/ef_tests/src/cases/kzg_recover_cells_and_kzg_proofs.rs # testing/ef_tests/src/cases/kzg_verify_cell_kzg_proof_batch.rs # testing/ef_tests/src/handler.rs # testing/ef_tests/tests/tests.rs commit 8cdf82e Author: Jimmy Chen <[email protected]> Date: Wed Jan 15 14:31:29 2025 +1100 Use engine v4 methods for Fulu (v5 methods do not exist yet). Update kurtosis config for PeerDAS as electra genesis is not yet supported. commit 4e25302 Author: Jimmy Chen <[email protected]> Date: Wed Jan 15 13:07:43 2025 +1100 Address review comments and fix lint. commit 0c9d64b Merge: 64e44e1 587c3e2 Author: Jimmy Chen <[email protected]> Date: Wed Jan 15 12:48:27 2025 +1100 Merge remote-tracking branch 'origin/unstable' into jimmy/lh-2271-activate-peerdas-at-fulu-fork-and-remove-eip7594_fork_epoch # Conflicts: # beacon_node/lighthouse_network/src/rpc/protocol.rs # testing/ef_tests/check_all_files_accessed.py # testing/ef_tests/src/handler.rs commit 64e44e1 Author: Jimmy Chen <[email protected]> Date: Tue Jan 14 14:45:09 2025 +1100 Fix failing tests now `fulu` fork is included. commit b029342 Author: Jimmy Chen <[email protected]> Date: Mon Jan 13 16:30:34 2025 +1100 Fix compilation and update Kurtosis test config for PeerDAS. commit cd77b2c Author: Jimmy Chen <[email protected]> Date: Mon Jan 13 16:16:18 2025 +1100 Update spec tests. commit 2e11554 Author: Jimmy Chen <[email protected]> Date: Mon Jan 13 14:45:55 2025 +1100 Implement PeerDAS Fulu fork activation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fulu changes look good! I would remove the fix for selecting relevant peers in range sync and handle that in a separate PR
38311f8
to
d8cba4b
Compare
I have reverted the change that draws custody peers from the chain's peer set. The test To fix it I followed a different path than you did initially @jimmygchen. I see why you needed to do the change to only draw peers from the sync chain but that's not the root cause of the failing test. Let's break down
To fix the tests I have made the I also had to add an epoch filter as the extra request from chain A for epoch 1 was colliding with the complete attempt for chain B. As we add more tests we can make this filters more robust but I think it's good for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Jimmy, the network parts look good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, mostly nits
…ork-and-remove-eip7594_fork_epoch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dapplion your change looks good to me!
5f70c41
to
ce8090d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretend review, lgtm
Issue Addressed
Addresses #6706
Proposed Changes
This PR activates PeerDAS at the Fulu fork epoch instead of
EIP_7594_FORK_EPOCH
. This means we no longer support testing PeerDAS with Deneb / Electrs, as it's now part of a hard fork.Additional Info
Apologies for the large diff - it was initially a relatively small change, but ended up being bigger because:
*_payload_v4
engine methods, as the v5 are not yet implemented, we should revert this commit once we're ready to switch over (I've addTODO(fulu)
comments to the changes): 8cdf82eForkName::latest_stable()
which returnsElectra
, so we don't run tests on Fulu by default.